This is a replication package for "Witchcraft beliefs around the world: an exploratory analysis" by Boris Gershman, published in PLoS ONE. Version: October 2022.

The root folder contains 2 final datasets (.dta files) and 2 do scripts (.do files) necessary to replicate the tables and figures in the paper and S1 Appendix. Individual- and country-level analyses are replicated via plos_analysis_individual.do and plos_analysis_country.do, respectively. The file "gap_axes.scheme" is simply a Stata style file that was used to format the figures.

All calculations were performed using Stata SE version 15.1. The file paths need NOT be changed, if the folder structure remains the same.

Tables are saved in TeX format in the "Tables" folder that has to be created by the user in the root folder. Production of tables in TeX format requires the estout package. It can be installed by entering "ssc install estout, replace" in Stata.

Figures are saved in PDF format in the "Figures" folder that has to be created by the user in the root folder. Production of the main figures require the coefplot package. It can be installed by entering "ssc install coefplot, replace" in Stata.